var express = require('express');

var router = express.Router();

const { register, login, getAllAdmins, changeAdminAccess,deleteAdminByID } = require("../controllers/admin")

router.post("/register", register)
router.post("/login", login)
router.post("/getAllAdmins", getAllAdmins)
router.post("/changeAdminAccess", changeAdminAccess)
router.post("/deleteAdminByID",deleteAdminByID)

module.exports = router;
